package com.yc.cloud.admin.dto.request;

/**
 * @title: UmsAdminLoginParam
 * @Author JackGu
 * @Date: 2022/9/11 11:05
 * @Version 1.0
 */

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户登录参数
 * Created by macro on 2018/4/26.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UmsAdminLoginParam {
    @NotEmpty
    @ApiModelProperty(value = "用户名", required = true, example = "admin")
    private String username;
    @NotEmpty
    @ApiModelProperty(value = "密码", required = true, example = "1234")
    private String password;
}
